package pers.brozen.anka.support.wechat;


import pers.brozen.anka.support.wechat.request.WeChatRequest;
import pers.brozen.anka.support.wechat.response.WeChatResponse;

/**
 * @author Brozen
 * @date 2019/10/22 3:18 PM
 */
public interface DataConverter<REQ extends WeChatRequest<RES>, RES extends WeChatResponse> {

    String serialize(REQ request);

    RES deserialize(String data);

}
